<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of addForm
 *
 * @author Admin
 */
class Application_Form_switch_CompletionForm extends Zend_Form {

    public function __construct($options = null) {
        parent::__construct($options);

        
        $complete = new Zend_Form_Element_Select('complete');
        $complete->addMultiOption('0', ' 0% Complete')
                ->addMultiOption('20', ' 20% Complete')
                ->addMultiOption('40', ' 40% Complete')
                ->addMultiOption('60', ' 60% Complete')
                ->addMultiOption('80', ' 80% Complete')
                ->addMultiOption('100', ' 100% Complete')
                ->setSeparator("")
                ->setValue('active')
                ->setAttrib('class', 'select ui-corner-all')
                ->setDecorators(array('ViewHelper', 'Errors'));


        $this->addElements(array( $complete));
    }

}